//
//  CSBuildManager.m
//  classroom
//
//  Created by Macx on 16/8/1.
//  Copyright © 2016年 LiuZhuo. All rights reserved.
//

#import "CSBuildManager.h"

@implementation CSBuildManager

+ (instancetype)shareInstance {
    static CSBuildManager *_buildManager = nil;
    static dispatch_once_t oncePredicate;
    dispatch_once(&oncePredicate, ^{
        _buildManager = [[self alloc] init];
    });
    return _buildManager;
}

- (NSArray *)areaDict {
    if (!_areaDict) {
        NSString *path = [[NSBundle mainBundle] pathForResource:@"building" ofType:@"plist"];
        _areaDict = [[NSArray alloc] initWithContentsOfFile:path];
    }
    return _areaDict;
}
@end
